package cn.funclab.elevator.common;

/**
 * @title 电梯的工作状态
 */
public enum ElevatorWorkStatusEnum {
    WORKING(1, "正常工作，还未满载"),
    FULLY_LOADED(2, "满载"),
    BROKE_DOWN(-1, "机器暂停运行");

    private Integer code;
    private String desc;


    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    ElevatorWorkStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
